package com.example.book.mapper;

import com.example.book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 九转苍翎
 * Date: 2025/7/25
 * Time: 20:32
 */
@Mapper
public interface UserInfoMapper {
    @Select("select * from user_info where user_name = #{username}")
    UserInfo getUserInfoByName(String username);
}
